package com.wondertek.poms.dao.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/** 产品属性
 * @author gaozhengxing gaozhenghang@wondertek.com.cn
 * @date 2020/12/22 17:57
 */

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ProductPropPojo implements Serializable {
    private static final long serialVersionUID = 341168294709465100L;

    public Long id;

    @Valid
    @NotBlank(message = "属性名不能为空")
    public String productPropName;


    public String productPropDesc;

    @Valid
    @NotNull(message = "属性值不能为空")
    public Long  propValue;

    public String updateTime;

    private String createTime;

}
